@charset "utf-8";

*{
	margin:0;
	padding:0;
}
#homewrap{
	font-family: "微软雅黑";
	width:100%;
	background:#efefef;
	padding-bottom: 1.2rem;
}
ul,ol,li{
	list-style: none;
}
/*头部搜索和轮播图部分*/
/*搜索框*/
#homewrap #change{
	width:100%;
}
#homewrap #header{
	width:100%;
	height:1rem;
	/*background: rgba(0,0,0,0);*/
	background: #ffd600;
	display: flex;
	position: fixed;
	top:0;
	left:0;
	z-index: 2;
}
#homewrap #header .scan{
	font-size: 0.28rem;
	flex-basis: 25%;
	margin-top: 0.3rem;
	padding-left: 0.2rem;
}
#homewrap #header p{
	line-height: 1rem;
	flex-basis: 70%;
	font-size: 0.28rem;
	font-weight: bold;
}
#homewrap #header div{
	flex-basis: 15%;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
}
#homewrap #header div img{
	width:0.4rem;
	height:0.4rem;
}
#homewrap #header div span{
	font-size: 0.12rem;
}

/*轮播图*/
#homewrap #lbtwrap{
	width:100%;
	height: 3.5rem;
	position: relative;
	overflow: hidden;
}
#homewrap #lbtwrap #middle{
	height: 3.5rem;
	position: absolute;
	left: 0;
	top:0;
	display: flex;
}
#homewrap #lbtwrap img{
	width:50%;
}
#homewrap #lbtwrap ul{
	position: absolute;
	bottom:10px;
	right:10px;
}
#homewrap #lbtwrap li{
	width:7px;
	height: 7px;
	border-radius: 50%;
	background:white;
	float:left;
	margin-right: 5px;
	list-style: none;
}
/*导航部分修饰*/
#homewrap #nav{
	width:100%;
	height:1.8rem;
	background: white;
	font-size: 0.24rem;
	display: flex;
	justify-content: space-around;
	margin-top: 0.2rem;
}
#homewrap #nav .item{
	text-align: center;
}
#homewrap #nav .item img{
	width:1.5rem;
	height:1rem;
	margin-bottom: 0.1rem;
	margin-top: 0.15rem;
}
/*banner部分修饰*/
#homewrap #banner{
	width:100%;
	height:2.1rem;
	display: flex;
	justify-content: space-between;
	margin-top: 0.2rem;
	overflow: hidden;
}
#homewrap #banner img{
	width:33%;
	margin-right: 0.05rem;
}
/*样式一修饰*/
#homewrap .style1{
	width:100%;
	background: white;
	margin-top: 0.2rem;
}
#homewrap .style1 .ul1 img{
	width:100%;
}
#homewrap .style1 .ul2{
	display: flex;
	justify-content: space-around;
	text-align: center;
}
#homewrap .style1 .ul2 li{
	width:45%;
	height:1.2rem;
}
#homewrap .style1 .ul2 li img{
	width:100%;
	height:100%;
}
#homewrap .style1 .ul3{
	display: flex;
	justify-content: space-around;
	text-align: center;
}
#homewrap .style1 .ul3 li{
	flex-basis: 25%;
}
#homewrap .style1 .ul3 li img{
	width:1.2rem;
	height:1rem;
}
#homewrap .style1 .ul3 li p{
	font-size: 0.24rem;
	margin-bottom: 0.2rem;
}
#homewrap .style1 .ul4{
	display: flex;
	justify-content: space-between;
	background: #efefef;
}
#homewrap .style1 .ul4 li{
	height:1.3rem;
	flex-basis: 49.8%;
	margin-top: 0.03rem;
}
#homewrap .style1 .ul4 li img{
	width:100%;
	height:100%;
}
/*样式二修饰*/
#homewrap .style2{
	width:100%;
	background: white;
	display: flex;
	flex-direction: column;
	margin-top: 0.2rem;
}
#homewrap .style2 .item1{
	font-size: 0.3rem;
	font-weight: bold;
	height:0.8rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-left: 0.2rem;
	padding-right: 0.2rem;
}
#homewrap .style2 .item1 .title{
	display: flex;
	align-items: center;
}
#homewrap .style2 .item1 .title div{
	width:0.15rem;
	height:0.3rem;
	background: black;
	margin-right:0.1rem;
}
#homewrap .style2 .item1 span{
	color:gray;
}
#homewrap .style2 .item2 img{
	width:95%;
	height:1.6rem;
	display: block;
	margin: 0 auto;
}
#homewrap .style2 .item3{
	font-size: 0.24rem;
	display: flex;
	margin-top: 0.2rem;
}
#homewrap .style2 .item3 .div{
	width:31%;
	padding-left: 0.1rem;
	display: flex;
	flex-wrap: wrap;
	position: relative;
}
#homewrap .style2 .item3 .div img{
	width:1.8rem;
	height:1.8rem;
	display: block;
	margin:0 auto 0.1rem;
}
#homewrap .style2 .item3 .div .title{
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-bottom: 0.2rem;
}
#homewrap .style2 .item3 .div .p{
	color:red;
	width:0.6rem;
	height:0.3rem;
	border: 1px solid red;
	border-radius: 5px;
	text-align: center;
	display: inline-block;
	margin-right: 0.3rem;
	margin-bottom: 0.15rem;
}
#homewrap .style2 .item3 .div .pp{
	width:0.6rem;
	height:0.3rem;
	display: inline-block;
	margin-right: 0.3rem;
	margin-bottom: 0.15rem;
}
#homewrap .style2 .item3 .div .youhui{
	color: white;
	background: red;
	border-radius: 5px;
	margin-bottom: 0.15rem;
}
#homewrap .style2 .item3 .div .mass{
	width:100%;
	color: gray;
	margin-bottom: 0.15rem;
}
#homewrap .style2 .item3 .div .price{
	color:red;
	margin-bottom: 0.25rem;
}
#homewrap .style2 .item3 .div .oldprice{
	font-size: 0.18rem;
	color: gray;
	text-decoration: line-through;
	padding-top: 0.05rem;
}
#homewrap .style2 .item3 .div .add{
	font-size: 0.5rem;
	font-weight: bold;
	color: red;
	text-align: center;
	width:0.5rem;
	height: 0.5rem;
	line-height: 0.4rem;
	border: 1px solid gray;
	border-radius: 50%;
	position: absolute;
	bottom: 0.25rem;
	right:0.15rem;
}
